\hypertarget{sc2__unit_8h}{}\section{include/sc2api/sc2\+\_\+unit.h File Reference}
\label{sc2__unit_8h}\index{include/sc2api/sc2\+\_\+unit.\+h@{include/sc2api/sc2\+\_\+unit.\+h}}


Unit data in an observation.  


{\ttfamily \#include \char`\"{}sc2\+\_\+proto\+\_\+interface.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}sc2\+\_\+gametypes.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}sc2\+\_\+common.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}sc2\+\_\+typeenums.\+h\char`\"{}}\newline
{\ttfamily \#include $<$vector$>$}\newline
{\ttfamily \#include $<$unordered\+\_\+map$>$}\newline
{\ttfamily \#include $<$string$>$}\newline
{\ttfamily \#include $<$stdint.\+h$>$}\newline
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structsc2_1_1_unit_order}{sc2\+::\+Unit\+Order}
\begin{DoxyCompactList}\small\item\em An order that is active on a unit. \end{DoxyCompactList}\item 
struct \hyperlink{structsc2_1_1_passenger_unit}{sc2\+::\+Passenger\+Unit}
\begin{DoxyCompactList}\small\item\em A passenger on a transport. \end{DoxyCompactList}\item 
class \hyperlink{classsc2_1_1_unit}{sc2\+::\+Unit}
\begin{DoxyCompactList}\small\item\em A unit. Could be a structure, a worker or a military unit. \end{DoxyCompactList}\item 
class \hyperlink{classsc2_1_1_unit_pool}{sc2\+::\+Unit\+Pool}
\item 
struct \hyperlink{structsc2_1_1_is_unit}{sc2\+::\+Is\+Unit}
\begin{DoxyCompactList}\small\item\em Determines if the unit matches the unit type. \end{DoxyCompactList}\item 
struct \hyperlink{structsc2_1_1_is_units}{sc2\+::\+Is\+Units}
\begin{DoxyCompactList}\small\item\em Determines if units matches the unit type. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{sc2__unit_8h_aa3eb4a93f399d30cc9edff207443a780}\label{sc2__unit_8h_aa3eb4a93f399d30cc9edff207443a780}} 
typedef std\+::vector$<$ const Unit $\ast$ $>$ {\bfseries sc2\+::\+Units}
\item 
\mbox{\Hypertarget{sc2__unit_8h_a73239e5e01c0aa8bc3e1e83d40eb77b9}\label{sc2__unit_8h_a73239e5e01c0aa8bc3e1e83d40eb77b9}} 
typedef std\+::unordered\+\_\+map$<$ Tag, size\+\_\+t $>$ {\bfseries sc2\+::\+Unit\+Idx\+Map}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Unit data in an observation. 

